package com.guilin.common.enums;

/**
 * 申请状态枚举（适配Long类型）
 *
 * @author xiaoqi
 * @date 2025-06-23
 */
public enum ApprovalStatus {
    PENDING(0L, "待审核"),
    APPROVED(1L, "已通过"),
    REJECTED(2L, "已拒绝"),
    COMPLETED(3L, "已完成");

    private final Long code;
    private final String message;

    ApprovalStatus(Long code, String message) {
        this.code = code;
        this.message = message;
    }

    public Long getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}